package com.hz.rouyigonggong.domain.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * @version 1.0
 * @Author yzw
 * @Date 2025/3/5 16:21
 * @注释
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LgSellerOrderDTO implements Serializable  {
    @ExcelProperty("订单ID")
    private Integer id;
    @ExcelProperty("订单编号")
    private Integer orderNumber;
    @ExcelProperty("卖家id")
    private Integer sellerId;
    @ExcelProperty("卖家姓名")
    private String sellerName;
    @ExcelProperty("卖家联系方式")
    private String sellerContact;
    @ExcelProperty("商品类型id")
    private Integer goodsId;
    @ExcelProperty("商家提供重量")
    private Double providedWeight;
    @ExcelProperty("商品数量")
    private Integer goodsQuantity;
    @ExcelProperty("商品单位")
    private String goodsUnit;
    @ExcelProperty("存储天数")
    private Integer storageDays;
    @ExcelProperty("起始地")
    private String origin;
    private Double originX;
    private Double originY;
    private Integer coldStorageId;
    @ExcelProperty("目的地")
    private String destination;
    private Double destinationX;
    private Double destinationY;
    @ExcelProperty("距离")
    private Double distance;
    @ExcelProperty("仓库类型")
    private Integer warehouseType;
    private Double freightCost;
    private Double estimatedPrice;
    private Double finalGoodsPrice;
    private Double finalFreightPrice;
    private Double depositRequired;
    private Double paymentAmount;
    private Integer depositPaid;
    private String createBy;
    private String updateBy;
    private String createTime;
    private String updateTime;
    private Integer deleteStatus;
    // 子库id
    private Integer subWarehouseId;
    // 仓库id
    private Integer warehouseId;
    private String goodsName;
    private String  subGoodsName;
    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();
    //  映射字段
    private String cktype;
//    private String goodsName;

    private String warehouseAddress;
}
